Replication package "Global Factors in Non-core Bank Funding and Exchange Rate Flexibility" by Luis Catao, Jan Ditzen, Daniel te Kaat.

Replication requires at least Stata 16. 

Folders: 
	- ado: Stata packages
	- do: do files
	- data: contains the main dataset "finaldataset_2004_2023"
	- Tables: Output folder with results tables 
	- Graphs: Output folder with graphs

do Files:
	- data_preparation.do: selects data, balances dataset and generates lags.
	- RegressionBlock.do: winsorises data, runs regressions and returns results.
	- Main_Results.do: Runs main results. Tables 1, 2, 3, 6, 8, 10 and Graphs 1 - 6.
	- Main_Robustness.do: Robustness checks in main text. Tables 4 and 11.
	- Main_MacroTight.do: Relevance of Macroprudential Policies. Table 5.
	- Main_BIS_Regressions.do: Regression of BIS variables on PCs. Table 7 and 12.


For questions please contact: Jan Ditzen; jan.ditzen@unibz.it; www.jan.ditzen.net
